﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Fazenda
{
    class Farmer
    {
        public int BagOfFeed;
        public int FeedMultiplier;
        private int numberOFCows;
        public int NumberOfCows
        {
            get
            {
                return numberOFCows;
            }
            set
            {
                numberOFCows = value;
                BagOfFeed = numberOFCows * FeedMultiplier;
            }

      }
        public Farmer(int numberOFCows, int feedMultiplier)
        {
            FeedMultiplier = feedMultiplier;
            this.NumberOfCows = numberOFCows;
        }
   }
}
